import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const therapist: AppRouteRecordRaw = {
	path: '/therapist',
	name: 'therapist',
	component: DEFAULT_LAYOUT,
	meta: {
		locale: '治疗师管理',
		ignoreCache: true,
		requiresAuth: true,
		icon: 'icon-settings',
		order: 2,
		roles: 'sys:therapist',
	},
	children: [
	{
			path: 'therapist',
			name: 'therapist',
			component: () =>
				import('@/views/user/therapist.vue'),
			meta: {
				locale: '治疗师管理',
				ignoreCache: true,
				requiresAuth: true,
				roles: 'sys:therapist',
				
			},
		},
	],
};

export default therapist;